export const subTaskOptions = [
  {
    label: "是",
    value: 1,
  },
  {
    label: "否",
    value: 0,
  },
];

export const dateOptions = [
  {
    label: '创建时间',
    value: 'create_time'
  },
  {
    label: '更新时间',
    value: 'update_time'
  },
  {
    label: '分配任务时间',
    value: 'distribution_time'
  },
  {
    label: '提交审核时间',
    value: 'process_time'
  },
  {
    label: '设计审核时间',
    value: 'designer_time'
  },
  {
    label: '运营审核时间',
    value: 'operators_time'
  },
  {
    label: '预期完成时间',
    value: 'expected_time'
  },
  {
    label: '部门分配开始时间',
    value: 'assignment_time_start'
  },
  {
    label: '部门分配结束时间',
    value: 'assignment_time_end'
  },
]

export const userOptions = [
  {
    label: '创建人',
    value: 'create_user'
  },
  {
    label: '图片处理人员',
    value: 'designer_user'
  },
  {
    label: '编辑人员',
    value: 'edit_user'
  },
  {
    label: '摄影人员',
    value: 'photography_user'
  },
  {
    label: '渲染人员',
    value: 'render_user'
  },
  {
    label: '协助人员',
    value: 'assistance_user'
  },
  {
    label: '产品开发人员',
    value: 'developer_user'
  },
  {
    label: '运营人员',
    value: 'operators_user_ids'
  },
  {
    label: '设计审核人员',
    value: 'designer_reviewer'
  },
  {
    label: '运营审核人员',
    value: 'operations_reviewer'
  },
]

export const batchOptions = [
  {
    label: '设置分配完成周期',
    value: 'allocateTime',
    auth: '/goods/task/picture/allocateTime'
  },
  {
    label: '设置任务要求',
    value: 'taskDemand',
    auth: '/goods/task/picture/taskDemand'
  },
  {
    label: '设置绩效月份',
    value: 'performanceMonth',
    auth: '/goods/task/picture/performanceMonth'
  },
  {
    label: "设置人员",
    value: "setPersonnel",
    auth: "/goods/task/picture/setPersonnel"
  },
  {
    label: "提取SKU",
    value: "extractSku",
    auth: "/goods/task/picture/extractSku"
  },
  {
    label: "设置超额任务",
    value: "setExcessTask",
    auth: "/goods/task/picture/setExcessTask"
  },
  {
    label: "上传编辑文案",
    value: "uploadEdit",
    auth: "/goods/task/picture/sumitAudit"
  },
  {
    label: "打标签",
    value: "makeTag",
    auth: "/goods/task/picture/makeTag"
  },
  {
    label: "任务认领",
    value: "taskClaim",
    auth: "/goods/task/picture/taskClaim"
  },
]

export const batchRoutineOptions = [
  // {
  //   label: '设置分配完成周期',
  //   value: 'allocateTime',
  //   auth: '/goods/task/picture/allocateTime'
  // },
  {
    label: '设置绩效月份',
    value: 'performanceMonth',
    auth: '/goods/task/picture/performanceMonth'
  },
  {
    label: "设置超额任务",
    value: "setExcessTask",
    auth: "/goods/task/picture/setExcessTask"
  },
]

export const timeList = [
  {
    label: '40天',
    value: 40
  },
  {
    label: '30天',
    value: 30
  },
  {
    label: '15天',
    value: 15
  },
  {
    label: '7天',
    value: 7
  },
]

export const imageTypeText = [
  {
    "label": "产品图片",
    "value": 3
  },
  {
    "label": "橱窗图",
    "value": 1
  },
  {
    "label": "详情图",
    "value": 2
  },
  {
    "label": "视频",
    "value": 4
  }
]

export const ruleTypeText = [
  {
    "label": "图片处理人",
    "value": "designer_user"
  },
  {
    "label": "摄影人员",
    "value": "photography_user"
  },
  {
    "label": "编辑人员",
    "value": "edit_user"
  },
  {
    "label": "渲染人员",
    "value": "render_user"
  },
  {
    "label": "协助人员",
    "value": "assistance_user"
  }
]

export const taskBoardOptions = [
  {
    label: '任务进度看板-(环境电子)',
    value: '/goods/task/task-board-electronics',
    path: '/task/task-board-electronics',
  },
  {
    label: "任务进度看板-(家居事业处)",
    value: "/goods/task/task-board-fitting",
    path: "/task/task-board-fitting",
  },
  {
    label: "任务进度看板-(汽配事业处)",
    value: "/goods/task/task-board-mountings",
    path: "/task/task-board-mountings",
  },
]

export const statisticsoardOptions = [
  {
    label: "统计看板-(环境电子)",
    value: "/goods/task/statistics-board-electronics",
    path: "/task/statistics-board-electronics",
  },
  {
    label: "统计看板-(汽配事业处)",
    value: "/goods/task/statistics-board-mountings",
    path: "/task/statistics-board-mountings",
  },
]


export const weekOptions = [
  {
    label: '本月-第1周',
    value: 1
  },
  {
    label: '本月-第2周',
    value: 2
  },
  {
    label: '本月-第3周',
    value: 3
  },
  {
    label: '本月-第4周',
    value: 4
  },
]

export const statusOptions = [
  {
    label: '全部',
    value: '',
  },
  {
    label: '待分配人员',
    value: 1,
  },
  {
    label: '待处理',
    value: 2,
  },
  {
    label: '处理中',
    value: 8,
  },
  {
    label: '待设计审核',
    value: 3,
  },
  {
    label: '待运营审核',
    value: 4,
  },
  {
    label: '审核未通过',
    value: 5,
  },
  {
    label: '已完成',
    value: 6,
  },
  {
    label: '已取消',
    value: 7,
  }
]

export const productOptions = [
  {
    label: "SKU",
    value: 'sku'
  },
  {
    label: "SPU",
    value: 'spu',
  },
  {
    label: "自定义SKU",
    value: 'custom_sku',
  },
  {
    label: "SKU中文名",
    value: 'sku_cn_title',
  },
];

export const attachOptions = [
  {
    label: "是",
    value: 1,
  },
  {
    label: "否",
    value: 2,
  },
];
